package com.example.demo.service.Impl;

import com.example.demo.dao.SigninMapper;
import com.example.demo.pojo.Signin;
import com.example.demo.service.SigninService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SigninServiceImpl implements SigninService {
    @Autowired
    private SigninMapper signinMapper;

    @Override
    public List<Signin> query(String userid) {
        return signinMapper.query(userid);
    }

    @Override
    public int addSignin(Signin signin) {
        return signinMapper.addSignin(signin);
    }
}
